<%@page import="org.paybiz.constant.PayConstant"%>
<%@ page contentType="text/html;charset=UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<html>
<head>
<title>支付结果显示页</title>
</head>
<body>
	<%
	    try {
	        int result = Integer.parseInt(request.getParameter("result"));
	        String payType = request.getParameter("payType");
	        out.println("订单号:" + request.getParameter("orderId") + ",");
	        if (result == PayConstant.RESULT_SUCCESS) {
	            out.println(PayConstant.getPayTypeValue(payType) + " 支付成功");
	        } else {
	            out.println(PayConstant.getPayTypeValue(payType) + " 支付失败");
	        }
	    } catch (Exception e) {
	        out.println("这是个错误");
	    }
	%>
</body>
</html>
